package ss.pku.jsa.worklist.util;

import java.util.Map;
import java.util.Set;

import ss.pku.jsa.worklist.graph.ConstraintGraph;
import ss.pku.jsa.worklist.om.Constraint;

public class InfluenceGenerator {
	public static <M,K> Map<M,Set<Constraint<M, K>>> generate(Constraint<M, K>[] constraints){
		ConstraintGraph<M, K> cg = new ConstraintGraph<M, K>(constraints);
		return cg.getInfluenceGraph();
	}
}
